<%@ Control Language="C#" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="Blog" Namespace="CommunityServer.Blogs.Controls" Assembly="CommunityServer.Blogs" %>
<%@ Import Namespace="CommunityServer.Components" %>

<script runat="server" language = "C#">

public int ItemCount = 0;

</script>

<table width="100%">
<tr valign="top">
<asp:repeater id="Categories" runat="server" >
    <itemtemplate>
			<%= ItemCount % 3 == 0 && ItemCount > 0 ? "</tr><tr valign=\"top\">" : "" %>
			<td width="33%" class="BlogLinkCategoryArea">
			<h3 class="CommonSubTitle"><asp:literal id="CategoryTitle" runat="server" /></h3>
			<ul class="BlogLinkCategoryLinkList">
			<asp:repeater id="Links" runat="server" >
				<itemtemplate>
					<li>
					<div><CS:Href id="Link" runat="server" /></div>
					<div><asp:literal id="Description" runat="server" /></div>
					</li>
				</itemtemplate>
			</asp:repeater>
			</ul>
			</td>
			<% ItemCount++; %>
    </itemtemplate>
</asp:repeater>
</tr>
</table>